package com.twu.biblioteca;

/**
 * Created by administrator on 14-4-20.
 */
public class movie {
    private String moviename;
    private int year ;
    private String director;
    private String rate;
    private boolean status;

    public movie(){
        moviename = null;
        year = 1900;
        director = null;
        rate = null;
        status = true;
    }
    public void setMoviename(String name){
        moviename = name;
    }
    public String getMoviename(){
        return moviename;
    }
    public void setYear(int movieyear){
        year = movieyear;
    }
    public int getYear(){
        return year;
    }
    public void setDirector(String dir){
        director = dir;
    }
    public String getDirector(){
        return  director;
    }
    public void setRate(String movierate){
        rate = movierate;
    }
    public String getRate(){
        return  rate;
    }
    public void setStatus(boolean moviestatus){
        status = moviestatus;
    }
    public boolean getstatus(){
        return  status;
    }
}
